package com.thenie.chat.vo;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @Description 登陆输入对象
 * @Author thenie
 * @Data 2022/5/17 18:55
 */
@Data
public class LoginVo {
    @NotNull
    @Length(min = 4,max = 12)
    private String username;
    @NotNull
    @Length(min = 32)
    private String password;
}
